/**
 Copyright will be fixed soon.
 Author: Hiroshi Ota.
 $Date: $
 $Revision: $
*/

#include "BFPathRecognizer.h"
#include "IBFBehaviorControl.h"

BFPathRecognizer::BFPathRecognizer(IBFBehaviorControl* bc)
: IBFArgorithm(),
context(bc)
{
}

BFPathRecognizer::~BFPathRecognizer(void)
{
}

unsigned int BFPathRecognizer::updateLightSensorValue(BFState *state)
{
	state->currentLightSensorLevel = context->getPathFinderRobot()->lightSensorGet();
	return state->currentLightSensorLevel;
}
